import { http, jumpExport } from '@/utils/http/axios';

// 获取拍品管理列表
export function List(params) {
  return http.request({
    url: '/auctionProductMapper/list',
    method: 'get',
    params,
  });
}

// 删除/批量删除拍品管理
export function Delete(params) {
  return http.request({
    url: '/auctionProductMapper/delete',
    method: 'POST',
    params,
  });
}

// 添加/编辑拍品管理
export function Edit(params) {
  return http.request({
    url: '/auctionProductMapper/edit',
    method: 'POST',
    params,
  });
}

// 获取拍品管理指定详情
export function View(params) {
  return http.request({
    url: '/auctionProductMapper/view',
    method: 'GET',
    params,
  });
}

// 导出拍品管理
export function Export(params) {
  jumpExport('/auctionProductMapper/export', params);
}